package com.example.config.simpleDynamicTask.mapper;

import cn.hutool.core.util.RandomUtil;
import org.springframework.stereotype.Component;

/**
 * @author ZhengDing
 * @date 2022/4/10 1:11
 */
@Component
public class FakeCronMapper {
    
    public String getCron() {
        return String.format("0/%d * * * * ?", RandomUtil.randomInt(1, 10));
    }
}
